
#include <string>

using namespace std;

class MyString
{
public:
	bool operator >(MyString a) const
	{
		return str0.length()>a.str0.length();
	}
	void operator =(MyString a)
	{
		str0 = a.str0;
	}
	bool operator ==(MyString a) const//Only compare the length
	{
		return str0.length()==a.str0.length();
	}
	MyString(string a)
	{
		str0=a;
	}
	MyString():str0(""){}
	void operator =(const char* a){str0=string(a);}
	const char *c_str(){return str0.c_str();}
private:
	string str0;
};